package com.macro.mall.tiny.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @author huangzhen
 * @date 2021/11/3 16:40
 */
public interface FileService {

    String uploadFile(MultipartFile file, String bucketName);

    void download(String filePath, String bucketName, HttpServletResponse response);

    void delete(String filePath, String bucketName);
}
